﻿<div class="view">
<?php echo $form->create('Xa');?>
	<fieldset>
 		<legend><?php __('Sửa xã');?></legend>
	<?php
      echo $form->hidden('date_sua',array('value'=>date('Y-m-d-h-m-s'))); 
		echo $form->hidden('huyen_id',array('value'=>$xa['Xa']['huyen_id']));
		echo $form->hidden('id',array('value'=>$xa['Xa']['id']));
		echo $form->input('TEN_X',array('label'=>'Tên xã','type'=>'text'));
	?>
	</fieldset>
<?php echo $form->end('Lưu');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $form->value('Xa.id')), null, sprintf(__('Bạn thật sự muốn xóa: %s?', true), $form->value('Xa.TEN_X'))); ?></li>
		<li><?php echo $html->link(__('Danh sách xã', true), array('action' => 'index',$xa['Xa']['huyen_id']));?></li>

	</ul>
</div>
